Skip to content

Conversation

@Ericson2314
Copy link
Member

Motivation

Move StorePath and Derivation declarations to their own headers in a backwards compatible way:

  • Created nix_api_store/store_path.h for StorePath operations

  • Created nix_api_store/derivation.h for Derivation operations

  • Main nix_api_store.h includes both headers for backwards compatibility

This reorganization improves modularity and hopefully makes the API easier to navigate.

Context

I will put some new things in these headers next, with #14555


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@github-actions github-actions bot added the c api Nix as a C library with a stable interface label Nov 17, 2025
Move StorePath and Derivation declarations to their own headers in a
backwards compatible way:

- Created nix_api_store/store_path.h for StorePath operations

- Created nix_api_store/derivation.h for Derivation operations

- Main nix_api_store.h includes both headers for backwards compatibility

This reorganization improves modularity and hopefully makes the API
easier to navigate.
@Ericson2314 Ericson2314 added this pull request to the merge queue Nov 17, 2025
Merged via the queue into NixOS:master with commit d5b6e1a Nov 17, 2025
16 checks passed
@Ericson2314 Ericson2314 deleted the store-c-header-split branch November 17, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c api Nix as a C library with a stable interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants